<span class="ml-3 whitespace-nowrap" title="<%= t("views.admin.users.status_title") %>">
  <span class="screen-reader-only"><%= t("views.admin.users.status_reader") %></span>
  <% if user.spam? %>
    <span data-testid="user-status" class="c-indicator c-indicator--danger c-indicator--relaxed"><%= t("views.admin.users.statuses.Spam") %></span>
  <% elsif user.suspended? %>
    <span data-testid="user-status" class="c-indicator c-indicator--danger c-indicator--relaxed"><%= t("views.admin.users.statuses.Suspended") %></span>
  <% elsif user.warned? %>
    <span data-testid="user-status" class="c-indicator c-indicator--warning c-indicator--relaxed"><%= t("views.admin.users.statuses.Warned") %></span>
  <% elsif user.comment_suspended? %>
    <span data-testid="user-status" class="c-indicator c-indicator--warning c-indicator--relaxed"><%= t("views.admin.users.statuses.Comment Suspended") %></span>
  <% elsif user.limited? %>
    <span data-testid="user-status" class="c-indicator c-indicator--warning c-indicator--relaxed"><%= t("views.admin.users.statuses.Limited") %></span>
  <% elsif user.trusted? %>
    <span data-testid="user-status" class="c-indicator c-indicator--success c-indicator--relaxed"><%= t("views.admin.users.statuses.Trusted") %></span>
  <% else %>
    <span data-testid="user-status" class="c-indicator c-indicator--relaxed"><%= t("views.admin.users.statuses.Good standing") %></span>
  <% end %>
  <% if user.max_score > 0 %>
      <span class="screen-reader-only"><%= t("views.admin.users.max_score_reader") %></span>
      <span data-testid="user-max-score" class="c-indicator c-indicator--relaxed">Max: <%= user.max_score %></span>
  <% end %>
</span>
